<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="../js/vue2.6.12.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			<div id="">
				<ul>
					<li v-for="(item,index) of arr">{{index}}----{{item}}</li>
				</ul>
			</div>
			<!--  -->
			<div>
				<ul>
					<li v-for="(item,value,index) in objlists">{{index}}----{{value}}----{{index}}</li>
				</ul>
			</div>
			<!--  -->
			<div id="">
				<ul>
					<li v-for="n in 10">{{n}}</li>
				</ul>
				
			</div>
			
		</div>
	</body>
	<script type="text/javascript">
		// v-for 中 in 和  of 的区别
		var vm = new Vue({
			el:'#app',
			data:{
				arr:['嘻嘻','哈哈','积极'],
				objlists:{
					name:'yyf',
					age:25,
					address:'重庆'
				},
			}
		});
	</script>
</html>
